package com.hl.order.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 售后日志管理对象 after_sales_logs
 * 
 * @author ruoyi
 * @date 2025-08-09
 */
public class AfterSalesLogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志ID，主键自增 */
    private Long afterSalesLogsId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 售后单ID */
    @Excel(name = "售后单ID")
    private Long afterSalesId;

    /** 操作人类型(1:用户,2:商家,3:系统,4:客服) */
    @Excel(name = "操作人类型(1:用户,2:商家,3:系统,4:客服)")
    private Long operatorType;

    /** 操作内容 */
    @Excel(name = "操作内容")
    private String operation;

    /** 日志时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日志时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    public void setAfterSalesLogsId(Long afterSalesLogsId) 
    {
        this.afterSalesLogsId = afterSalesLogsId;
    }

    public Long getAfterSalesLogsId() 
    {
        return afterSalesLogsId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setAfterSalesId(Long afterSalesId) 
    {
        this.afterSalesId = afterSalesId;
    }

    public Long getAfterSalesId() 
    {
        return afterSalesId;
    }

    public void setOperatorType(Long operatorType) 
    {
        this.operatorType = operatorType;
    }

    public Long getOperatorType() 
    {
        return operatorType;
    }

    public void setOperation(String operation) 
    {
        this.operation = operation;
    }

    public String getOperation() 
    {
        return operation;
    }

    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("afterSalesLogsId", getAfterSalesLogsId())
            .append("orderId", getOrderId())
            .append("afterSalesId", getAfterSalesId())
            .append("operatorType", getOperatorType())
            .append("operation", getOperation())
            .append("time", getTime())
            .toString();
    }
}
